package aliyun.cx.front.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 前端模块控制器
 */
@Controller
@RequestMapping("/front")
public class FrontController {
    
    @GetMapping("/index")
    public String index(Model model) {
        model.addAttribute("message", "Welcome to Front Module!");
        return "index";
    }
}
